#pragma once

#include "Exception.h"

namespace kryptos{ namespace database {

class DatabaseManagerException : public kryptos::util::Exception
{
  public:

    enum ErrorType { OPEN_ERROR, QUERY_ERROR };

    DatabaseManagerException(ErrorType type, const QString error) : Exception(type, error) {}
    virtual ~DatabaseManagerException() throw() {}
};

}}
